﻿function CommentViewModel(model) {
    var selfModel = this;
    var isMain = false;

    selfModel.StartPage = "InfoComment";
    selfModel.Controller = "Comment";

    ko.mapping.fromJS(model, {}, selfModel);

    selfModel.prototype = new CRUDViewModel(selfModel);


    selfModel.Init(isMain);
}